package com.biz.primus.base.elasticsearch.repository;


import com.biz.primus.base.elasticsearch.common.CommonESRepository;
import com.biz.primus.base.elasticsearch.entities.VendorEntity;

/**
 * @author david-liu
 * @date 2017年01月05日
 * @reviewer
 * @see
 */
public interface VendorEsRepository extends CommonESRepository<VendorEntity, Long>, VendorEsDao {

    VendorEntity findByVendorCode(String vendorCode);

    void deleteByLastUpdateTimeLessThanEqual(Long time);
}
